using System;

namespace Project.Domain.Entities
{
    public class UserBet
    {
        public int UserBetId { get; set; }
        public int BetDetailId { get; set; }
        public int UserId { get; set; }
        public decimal Odds { get; set; }
        public decimal Stake { get; set; }
        public decimal UserWin { get; set; }
        public DateTime CreatedTime { get; set; }

        //Status=0 user chua submit bet 1 ngc lai
        public bool Status { get; set; }
        public int IsWin { get; set; }//0: inplay,1 win: 2 failed
        public virtual User User { get; set; }
        public virtual BetDetail BetDetail { get; set; }
    }
}